package com.example.domain;

public class Chapter {
    private int chapter_id;
    private int novel_id;
    private String title;
    private String content;
    private int order_number;
    public Chapter()
    {
    }

    public Chapter(int chapter_id, int novel_id, String title, String content, int order_number) {
        this.chapter_id = chapter_id;
        this.novel_id = novel_id;
        this.title = title;
        this.content = content;
        this.order_number = order_number;
    }

    /**
     * 获取
     * @return chapter_id
     */
    public int getChapter_id() {
        return chapter_id;
    }

    /**
     * 设置
     * @param chapter_id
     */
    public void setChapter_id(int chapter_id) {
        this.chapter_id = chapter_id;
    }

    /**
     * 获取
     * @return novel_id
     */
    public int getNovel_id() {
        return novel_id;
    }

    /**
     * 设置
     * @param novel_id
     */
    public void setNovel_id(int novel_id) {
        this.novel_id = novel_id;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取
     * @return order_number
     */
    public int getOrder_number() {
        return order_number;
    }

    /**
     * 设置
     * @param order_number
     */
    public void setOrder_number(int order_number) {
        this.order_number = order_number;
    }

    public String toString() {
        return "Chapter{chapter_id = " + chapter_id + ", novel_id = " + novel_id + ", title = " + title + ", content = " + content + ", order_number = " + order_number + "}";
    }
}
